package com.karson.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

public enum TagType implements BaseEnum{
    ALBUMTAG(1,"音声标签"),
    AGERATING(2,"年龄分级"),
    COMMUNITY(3,"社区");


    TagType(Integer code, String name) {
        this.code = code;
        this.name = name;
    }
    @EnumValue
    @JsonValue
    private Integer code;

    private String name;


    @Override
    public Integer getCode() {
        return this.code;
    }

    @Override
    public String getName() {
        return this.name;
    }
}
